package milu.dbxml;

import java.util.HashMap;
import java.util.Map;

import com.sleepycat.dbxml.XmlException;
import com.sleepycat.dbxml.XmlResults;
import com.sleepycat.dbxml.XmlValue;

public class Params {
	private final Map<String, Object> variables = new HashMap<String, Object>();

	public void put(String key, XmlValue value) throws XmlException {
		variables.put(key, value);
	}

	public void put(String key, XmlResults values) throws XmlException {
		variables.put(key, values);
	}

	public Map<String, Object> getVariables() {
		return this.variables;
	}
}
